In-depth understanding of ini configuration in php (2), in-depth understanding of ini
Continue with the previous article.1. Change the configuration during running
As mentioned in the previous article, the ini_set function can dynamically modify
In-depth understanding of ini configuration in php (2), in-depth understanding of ini. In-depth understanding of ini configuration in php (2), in-depth understanding of ini, continue to the previous article. 1. changing the configuration during
In the previous article, we explained the principles of php. ini configuration. in this article, we will modify the php configuration dynamically. For more information, see section 1. change the configuration during runtime.
As mentioned in the
Php. ini is configured to restore the default environment after a period of time: wampserver recently encountered a very strange problem in php. after the following values are redefined by ini, upload_max_filesize = 256Mpost_max_sizemax_executio php.
1. Change configuration at runtimeAs mentioned in the previous article, the Ini_set function can dynamically modify part of PHP configuration during PHP execution. Note that only partially, not all configurations can be dynamically modified. For the
The most common ini functions in PHP. For PHP configuration files, the most commonly used ini function PHP configuration function is a few ini _ * functions, mainly for configuration file operations, in fact, there are four functions: ini_get,
The most common ini function analysis in PHP is for the PHP. ini configuration file. * Ini_get (): gets the option value of the configuration file. This function can be used by many people to obtain the option value in the configuration file. if it
Php configuration functions are several ini _ * functions, mainly for configuration file operations. In fact, there are four functions: ini_get, ini_set, ini_get_all, and ini_restore. The most useful ones are ini_set and ini_get. * Ini_get (): gets
PHP php. ini time zone settings problems PHP php. ini time zone settings problems
Php. date is added to ini. the timezone option is disabled by default, that is, the displayed time (no matter what php command is used) is the
* Ini_get (): gets the option value of the configuration file.
This function is often used by many people to obtain the value of an option in the configuration file. If it is true, 1 is returned. If it is false, 0 is returned, and the string is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.